﻿<%@ Page Title="Reltório" Language="C#" AutoEventWireup="true" CodeFile="rel_person.aspx.cs" Inherits="relatorios_rel_person" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css" media="all">
        html, body
        {
            font-family: Segoe UI;
        }
        h1
        {
            margin: 0;
            padding: 0;
        }
        
        table
        {
        	font-size:10px;
        }
        
        #relatorio
        {
            width: 800px;
            background: #fff;
            margin: 20px auto;
            padding: 20px;
        }
    </style>
    <style type="text/css" media="print">
        .print
        {
            display: none;
        }
    </style>
    <style type="text/css" media="screen">
        html, body
        {
            background-color: #333;
            margin: 0;
            padding: 0;
        }
    </style>
</head>
<body>
    <form id="aspNet" runat="server">
    <div id="relatorio">
    <p style="text-align:right">
        <a href="#" onclick="print(); return false;" class="print">Imprimir Relatório</a>
       </p>
        <h1>Relatório Cadastro de Pessoas</h1>
        <br />
        <asp:GridView runat="server" ID="gvDados" AutoGenerateColumns="False" 
            Width="100%" CellPadding="4" ForeColor="#333333">
            <RowStyle BackColor="#E3EAEB" />
            <Columns>
                <asp:BoundField DataField="Nome" HeaderText="Nome" />               
                <asp:BoundField DataField="CPF" HeaderText="CPF" />
                <asp:BoundField DataField="FonePrincipal" HeaderText="Fone" />
                <asp:BoundField DataField="Email" HeaderText="Email" />
                <asp:BoundField DataField="Endereco" HeaderText="Endereço" />
                <asp:BoundField DataField="Cidade" HeaderText="Cidade" />
                <%--<asp:BoundField DataField="idEstado" HeaderText="Estado" />--%>
            </Columns>
            <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
            <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            <EditRowStyle BackColor="#7C6F57" />
            <AlternatingRowStyle BackColor="White" />
        </asp:GridView>        
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
    </div>
    </form>
</body>
</html>
